{$contents}

{literal}
<div style="text-align:left; padding:10px;">

<h2>Source</h2>
<pre class="code">
&lt;?php
DomFgToolTip::c()
	->title('Tooltip 1')
	->contents('This is sample tooltip')
	->elementId('tip1');
	
DomFgToolTip::c()
	->title('Tooltip 2')
	->contents('&lt;img src="'.$this->getMediaUrl('Icons/configuration.gif').'"/&gt; This is sample tooltip &lt;b&gt;with html&lt;/b&gt;')
	->elementId('tip2');
		
$panel = array(
	'title' => 'title',
	'layout' => 'table',
	'action' => $this->getUrl('calendar/'.$id),
	'layoutConfig' => array(
		'columns' => 2,
		'columnWidths' => array( 150 ),
	),
	'html' => '
		&lt;div id="tip1" style="padding:10px"&gt;Tooltip sample 1&lt;/div&gt;
		
		&lt;div id="tip2" style="padding:10px"&gt;Tooltip sample 2&lt;/div&gt;
	',
);
			
$this->view->contents = DomFg::render( $panel );
?&gt;
</pre>
{/literal}